package net.aiotos.common.dto;

import com.alibaba.fastjson.JSONArray;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

@Data
@NoArgsConstructor
public class ResultJsonArray {
    private  Short code;
    private String msg;
    private JSONArray data;
    public <T> List<T> toJavaObject(Class<T> tClass) {
        return data.toJavaList(tClass);
    }
}
